package com.ibeeking.found.msg.service.common.param;

import com.ibeeking.found.common.enums.sms.SmsTypeCodeEnum;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName SmsTypeParam
 * @Description
 * @Author ibeeking
 * @Date 2020-12-09 10:53
 **/
@Data
public class MsgSendParam implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 租户id
     */
    private Integer tenantId;

    @NotNull(message = "短信类型不能为空")
    private SmsTypeCodeEnum smsTypeCode;

    @NotBlank(message = "手机号不能为空")
    private String mobile;

}
